from django.urls import path

from apps.activity import views

urlpatterns = [
    # 所有活动路由
    path('gatherings/', views.ActivityListView.as_view()),
    # 活动详情路由
    path('gatherings/<int:id>/', views.ActivityView.as_view()),
    # 报名活动路由
    path('gatherings/<int:id>/join/', views.ActivityJoinView.as_view()),
]
